import 'package:flutter/material.dart';



class StringUtil  {
  static bool isPhone(String phone){
    RegExp exp = RegExp(
        r'^((13[0-9])|(14[0-9])|(15[0-9])|(16[0-9])|(17[0-9])|(18[0-9])|(19[0-9]))\d{8}$');
    bool matched = exp.hasMatch(phone);
    return matched;
}

static String wxPaySign(){

}
//得到扩展名
static String getExtendName(String name){

    name.split(".");

}

}